import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import asyncRouter from './router/asyncRouter'
import store from './store/index'
import '@/assets/index'
import 'amfe-flexible'
import '@/assets/css/main.css'

/*vconsole start*/
// import VConsole from 'vconsole';
// let vconsole = new VConsole();
// export default vconsole;
/*vconsole end*/
asyncRouter.forEach(route => {
  router.addRoute(route)
})
// router.addRoutes(asyncRouter)
const app = createApp(App)
app.use(store).use(router)
app.mount('#app')
